package cate.game.activity.lostdreamland.po;

import cate.common.table.activity.lostdreamland.row.LostDreamlandRewardRow;
import com.fasterxml.jackson.annotation.JsonIgnore;
import easy.java.dev.note.NoteField;

public class LostDreamlandLevel{
    @JsonIgnore
    @NoteField(value = "层数（123）")
    public int level;
    @NoteField(value = "是否击败")
    public boolean passed;

    @NoteField(value = "击败奖励是否购买")
    public Boolean freeGot;;

    @NoteField(value = "剩余限购次数")
    public int limit;

    @NoteField(value = "追加奖励是否购买")
    public Boolean buyGot;


    public void initLevel(LostDreamlandRewardRow row) {
        level = row.level;
        passed = false;
        freeGot = false;
        buyGot = false;
        limit = row.limitNum;
    }
}
